home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_elm.idb / usr / freeware / doc / elm / Form.cat.z / Form.cat
Encoding:
Text File  |  1998-10-28  |  15.3 KB  |  526 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                 EEEEllllmmmm FFFFoooorrrrmmmmssss MMMMooooddddeeee GGGGuuuuiiiiddddeeee
  20.  
  21.  
  22.  
  23.                      _W_h_a_t _F_o_r_m_s _M_o_d_e _i_s, _h_o_w _t_o _u_s_e _i_t _t_o _c_r_e_a_t_e
  24.                    _c_u_s_t_o_m _f_o_r_m_s, _h_o_w _t_o _r_e_p_l_y _t_o _f_o_r_m_s, _a_n_d _h_o_w _t_o
  25.                             _u_s_e _i_t _f_o_r _A_T&_T _M_a_i_l _m_e_s_s_a_g_e_s
  26.  
  27.  
  28.  
  29.                                  The Elm Mail System
  30.                                     (Version 2.4)
  31.  
  32.  
  33.                            Syd Weinstein, Elm Coordinator
  34.                                Datacomp Systems, Inc.
  35.                                    3837 Byron Road
  36.                           Huntingdon Valley, PA 19006-2320
  37.  
  38.                           email: elm@DSI.COM  or  dsinc!elm
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.                           Copyright 1986,1987 by Dave Taylor
  56.                   Copyright 1988-1992 by The USENET Community Trust
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.                             AAAA GGGGuuuuiiiiddddeeee ttttoooo FFFFoooorrrrmmmmssss MMMMooooddddeeee iiiinnnn EEEEllllmmmm
  79.  
  80.                          (The Elm Mail System, Version 2.4)
  81.  
  82.                                    October 1, 1992
  83.  
  84.  
  85.                                     Syd Weinstein
  86.                                Datacomp Systems, Inc.
  87.                                    3837 Byron Road
  88.                           Huntingdon Valley, PA 19006-2320
  89.  
  90.                           email: elm@DSI.COM  or  dsinc!elm
  91.  
  92.  
  93.                                     Derived from
  94.                          "The Elm Mail System, Version 2.0"
  95.                                          by
  96.                                      Dave Taylor
  97.                                   Intuitive Systems
  98.                               Mountain View, California
  99.                     email: taylor@intuitive.com  or  limbo!taylor
  100.  
  101.  
  102.  
  103.           While there are a lot of mail systems that allow the transmission
  104.           of text and primitive pictures, to send and reply to more complex
  105.           forms is simply not possible.  Elm, however, took the forms  mode
  106.           implemented  as part of the AT&T Mail package and has expanded on
  107.           it to be a smoothly fit part of the overall mail system.
  108.  
  109.           Forms mode gives you the ability to send "template" files to peo-
  110.           ple and receive the filled-in replies. Let's look at an  example
  111.           right off.
  112.  
  113.           Say we were going to use computer mail as a way to  file  defects
  114.           with  software.  There is a certain amount of information we want
  115.           to be able to collect when each report is made, and if it is in a
  116.           specific  format we can use programs to file the defects upon re-
  117.           ceipt.
  118.  
  119.           __________
  120.           1. Note that this feature assumes that  the  person  on
  121.           the  other  end is also using the Elm mail system, that
  122.           both yourself and the person  on  the  other  end  have
  123.           their  user levels set to something other than _B_e_g_i_n_n_e_r
  124.           (0000) and the ffffoooorrrrmmmmssss variable set ON in  their  ._e_l_m/_e_l_m_r_c
  125.           files.
  126.  
  127.  
  128.           Forms Mode Guide                                      Version 2.4
  129.  
  130.  
  131.  
  132.  
  133.  
  134.           Forms Mode Guide                                      Version 2.4
  135.  
  136.  
  137.           The form we'll try to emulate starts out looking like:
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.           October 1, 1992                                            Page 2
  194.  
  195.  
  196.  
  197.  
  198.  
  199.           Forms Mode Guide                                      Version 2.4
  200.  
  201.  
  202.                                           Defect Reporting Form
  203.  
  204.                     Program: ______________                         Version: ________
  205.                     Operating System: _____                         Version: ________
  206.  
  207.                     Defect Type: __________
  208.  
  209.                     Date Found: ___________                 By Whom: ______________
  210.                     Date Reported: ________                 Phone: ________________
  211.  
  212.                     Description: ___________________________________________________
  213.                     ________________________________________________________________
  214.                     ________________________________________________________________
  215.  
  216.           __________________________________________________________________
  217.  
  218.  
  219.           This form can actually be created almost exactly as listed  above
  220.           in the Elm mail system by using your standard editor and can then
  221.           be mailed about as needed.
  222.  
  223.           Let's say that we want a bit more information, however, especial-
  224.           ly  with  fields like _D_e_f_e_c_t _T_y_p_e, we want to list all the recom-
  225.           mended answers.  To create the actual form, we need merely to re-
  226.           place  the  underlines in the above form with spaces.  The multi-
  227.           line comments can simply be indicated by a ':'  by  itself  on  a
  228.           line:
  229.  
  230.  
  231.  
  232.                                           Defect Reporting Form
  233.  
  234.                     Program:                                        Version:
  235.                     Operating System:                               Version:
  236.  
  237.                     (Valid Defect Types are: user-error, doc-error, fatal, other)
  238.                     Defect Type:
  239.  
  240.                     Date Found:                               By Whom:
  241.                     Date Reported:                            Phone:
  242.  
  243.                     Description
  244.                     :
  245.  
  246.           Thank you for filling in this form.
  247.  
  248.  
  249.           __________________________________________________________________
  250.  
  251.  
  252.           As you can see, it is quite simple to create forms!!
  253.  
  254.           Now that you have an idea what we're talking about, let's actual-
  255.           ly officially define the system.
  256.  
  257.  
  258.  
  259.           October 1, 1992                                            Page 3
  260.  
  261.  
  262.  
  263.  
  264.  
  265.           Forms Mode Guide                                      Version 2.4
  266.  
  267.  
  268.           FFFFoooorrrrmmmmssss MMMMooooddddeeee SSSSppppeeeecccciiiiffffiiiiccccaaaattttiiiioooonnnn
  269.  
  270.           [Note that this is all taken from the document _S_t_a_n_d_a_r_d  _f_o_r  _E_x_-
  271.           _c_h_a_n_g_i_n_g _F_o_r_m_s _o_n _A_T&_T _M_a_i_l, Version 1.9 of 6/7/86, from AT&T.]
  272.  
  273.           The forms mode is really quite simple.  Simple enough that it  is
  274.           amazing  that  it  hadn't  been implemented before AT&T Mail came
  275.           along!!
  276.  
  277.           In a nutshell, each field is delimited by a  ':'  followed  by  a
  278.           number  of blank spaces or tabs that represent the valid size for
  279.           that field.  That is, if we have a line in the form like:
  280.  
  281.                       Phone (area-code):     Number:
  282.  
  283.           The area-code field is limited to three characters and the number
  284.           to  nine  (this  is  kind  of hard to see with the proportionally
  285.           spaced formatted copy, alas).  The only exception to the rule  is
  286.           that  a  ':'  by  itself  on a line represents a field that is as
  287.           large as the user entering the data desires.
  288.  
  289.           The actual form that is transmitted, in AT&T Mail parlance, is  a
  290.           "SIMPLE"  forms  handler  message  (as  opposed to the "ADVANCED"
  291.           handler).  This means that it contains three sections:
  292.  
  293.                _T_h_e _M_e_s_s_a_g_e _H_e_a_d_e_r
  294.                [_O_P_T_I_O_N_S-_S_E_C_T_I_O_N]
  295.                ***
  296.                [_F_O_R_M_S-_I_M_A_G_E]
  297.                ***
  298.                [_R_U_L_E_S-_S_E_C_T_I_O_N]
  299.  
  300.           Elm generates form messages with the _O_P_T_I_O_N_S-_S_E_C_T_I_O_N filled  out,
  301.           but  ignores  it  when  receiving  mail.  The filled out _O_P_T_I_O_N_S-
  302.           _S_E_C_T_I_O_N is:
  303.  
  304.                WIDTH=80
  305.                TYPE=SIMPLE
  306.                OUTPUT=TEXT
  307.  
  308.           The _F_O_R_M_S-_I_M_A_G_E section is that described above,  i.e.  prompting
  309.           text  followed  by a ':', followed by spaces or tabs.  The _R_U_L_E_S-
  310.           _S_E_C_T_I_O_N can contain explicit rules about the possible  values  of
  311.           each  field,  but this is currently ignored by Elm, being a "SIM-
  312.           PLE" forms mode mail system.
  313.  
  314.           Forms also have the header "Content-Type: mailform"  to  indicate
  315.           to the mail system (either Elm or AT&T Mail) that a form is being
  316.           sent.
  317.  
  318.           Elm further indicates that a form has been received by having  an
  319.           'F'  as  the  status character in the header display section (in-
  320.           stead of 'N' for new, etc).
  321.  
  322.  
  323.  
  324.           October 1, 1992                                            Page 4
  325.  
  326.  
  327.  
  328.  
  329.  
  330.           Forms Mode Guide                                      Version 2.4
  331.  
  332.  
  333.           CCCCoooommmmppppoooossssiiiinnnngggg aaaannnndddd SSSSeeeennnnddddiiiinnnngggg aaaa FFFFoooorrrrmmmm
  334.  
  335.           The first step to enable sending forms is to change  the  setting
  336.           of the variable ffffoooorrrrmmmmssss in your ._e_l_m/_e_l_m_r_c file to ON:
  337.  
  338.                forms = ON
  339.  
  340.           The next step is to send the  message  to  someone  using  the  mmmm
  341.           (mmmmaaaaiiiillll) command, which drops you into an editor.  Type in the form
  342.           as indicated above, with appropriate colons and comments, and end
  343.           the entry by leaving the editor.
  344.  
  345.           The prompt is now:
  346.  
  347.           Choose: E)dit msg, edit H)eaders, M)ake form, S)end or F)orget : @
  348.  
  349.           so we choose mmmm - mmmmaaaakkkkeeee ffffoooorrrrmmmm.  Elm then either rewrites the  prompt
  350.           without  the  "M)ake  form"  option, indicating that the form has
  351.           been accepted, or indicates the problem and gives you a chance to
  352.           correct it.
  353.  
  354.           Once it has been accepted, simply use the ssss - sssseeeennnndddd mmmmeeeessssssssaaaaggggeeee - com-
  355.           mand and it's off!
  356.  
  357.           Note that you cannot reply to a message with a form.
  358.  
  359.           RRRReeeeppppllllyyyyiiiinnnngggg ttttoooo aaaa FFFFoooorrrrmmmm
  360.  
  361.           Let's reply to the form message we  generated  now.   The  header
  362.           page  of the Elm mail system indicates that the message is a form
  363.           by having an 'F' next to it.  So we use rrrr to reply and the screen
  364.           is  immediately  cleared  and we're prompted, field by field, for
  365.           the data requested.  Each field has underscores in the input area
  366.           to indicate the size field that is expected.
  367.  
  368.           After answering all the questions we'll have a screen that  looks
  369.           like:
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.           October 1, 1992                                            Page 5
  390.  
  391.  
  392.  
  393.  
  394.  
  395.           Forms Mode Guide                                      Version 2.4
  396.  
  397.  
  398.                                           Defect Reporting Form
  399.  
  400.            Program:  TTTThhhheeee EEEEllllmmmm MMMMaaaaiiiillll SSSSyyyysssstttteeeemmmm___________
  401.            Version:  1111....5555___________________________
  402.            Operating System:  HHHHPPPP----UUUUXXXX_________________________
  403.            Version:  5555....111144441111 CCCC_______________________
  404.  
  405.            (Valid Defect Types are: user-error, doc-error, fatal, other)
  406.            Defect Type:  ffffaaaattttaaaallll_____________________________________________
  407.  
  408.            Date Found:  11110000////9999////88886666_______________________
  409.            By Whom:  DDDDaaaavvvveeee TTTTaaaayyyylllloooorrrr___________________
  410.            Date Reported:  11110000////9999////88886666_______________________
  411.            Phone:  ((((444411115555)))) 888855557777----6666888888887777________________
  412.  
  413.            Description
  414.            (Enter as many lines as needed, ending with a '.' by itself on a line)
  415.              WWWWhhhheeeennnn rrrruuuunnnnnnnniiiinnnngggg iiiitttt oooonnnn aaaa CCCCPPPPMMMM ssssyyyysssstttteeeemmmm IIII ccccaaaannnnnnnnooootttt ccccoooommmmppppiiiilllleeee ssssuuuucccccccceeeessssssssffffuuuullllllllyyyy....
  416.              ....
  417.            Thank you for filling in this form.
  418.                          Choose: E)dit form, edit H)eaders, S)end or F)orget : @
  419.  
  420.           __________________________________________________________________
  421.  
  422.  
  423.           Quite simple.  Notice, however, that the order  of  prompting  is
  424.           left-to-right  on  each line, so the fields, _B_y _W_h_o_m: and _P_h_o_n_e:,
  425.           although placed in what seems like a logical place on  the  form,
  426.           turn  out to be confusing when filling in the received form since
  427.           it isn't clear what _P_h_o_n_e: is being asked for because of the  in-
  428.           tervention of the _D_a_t_e _R_e_p_o_r_t_e_d: field.
  429.  
  430.           The message that is actually sent out from this has the fields in
  431.           a more acceptable format:
  432.  
  433.  
  434.  
  435.  
  436.  
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.  
  448.  
  449.  
  450.  
  451.  
  452.  
  453.  
  454.           October 1, 1992                                            Page 6
  455.  
  456.  
  457.  
  458.  
  459.  
  460.           Forms Mode Guide                                      Version 2.4
  461.  
  462.  
  463.            WIDTH=80
  464.            TYPE=SIMPLE
  465.            OUTPUT=TEXT
  466.                                 Defect Reporting Form
  467.            ***
  468.  
  469.            Program: The Elm Mail System                     Version: 1.5
  470.            Operating System: HP-UX                          Version: 5.141 C
  471.  
  472.            (Valid Defect Types are: user-error, doc-error, fatal, other)
  473.            Defect Type: fatal
  474.  
  475.            Date Found: 10/9/86                      By Whom: Dave Taylor
  476.            Date Reported: 10/9/86                   Phone: (415) 857-6887
  477.  
  478.            Description
  479.  
  480.               When running it on a CPM system I cannot compile  successful-
  481.           ly.
  482.  
  483.            Thank you for filling in this form.
  484.            ***
  485.  
  486.           __________________________________________________________________
  487.  
  488.  
  489.           CCCCoooommmmmmmmeeeennnnttttssss oooonnnn FFFFoooorrrrmmmmssss MMMMooooddddeeee
  490.  
  491.           As was said at the beginning, this way  of  sending  about  forms
  492.           could  prove  to  be very helpful and useful in a variety of con-
  493.           texts.  On the other  hand,  until  a  more  sophisticated  forms
  494.           language  is used for the forms, this should be sufficient to em-
  495.           body the power of the idea.
  496.  
  497.           I welcome any comments and thoughts on this system and also  wel-
  498.           come possible enhancements.
  499.  
  500.           I also gratefully thank Dale DeJager of AT&T Information  Systems
  501.           for  sending me more information on AT&T Mail than I could possi-
  502.           bly digest in any finite amount of time.
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.           October 1, 1992                                            Page 7
  521.  
  522.  
  523.  
  524.